import request from "@/common/untils/request.js"

// 档案列表
export const getPersonDocumentList = (query) => {
  return request({
    url: "/data/api-v/dbperson/personDocumentList",
    method: "post",
    data: query
  })
}
// 人像归档

export const getPersonDocumentInfo = (query) => {
  return request({
    url: "/data/api-v/dbperson/personDocumentInfo/" + query.id,
    method: "get",
    data: query
  })
}
// 人像归档列表
export const getSearchList = (query) => {
  return request({
    url: "/data/api-v/es/esSearch",
    method: "post",
    data: query
  })
}
// 替换为档案图
export const personImageReplace = (query) => {
  return request({
    url: "/data/api-v/dbperson/personImageReplace",
    method: "post",
    data: query
  })
}
// 档案合并
export const personDocumentMerge = (query) => {
  return request({
    url: "/data/api-v/dbperson/personDocumentMerge",
    method: "post",
    data: query
  })
}
